package org.nanfang.Yield.isAliv;

public class Threadyield extends Thread{
    public Threadyield(){

    }
    public Threadyield(String name){
        super(name);
    }
    @Override
    public void run() {
       while (true){
           System.out.println(Thread.currentThread().getName()+"好好学习");
       }
    }
}
